package top.stacktrace.binfo;

import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper
public interface BookDao {
    @Select("select * from books")
    List<Book> getBooks();
}